﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using MySql.Data.MySqlClient;
using System.Data;

namespace ProjectBuilder
{
    [DbTable("phpdoc_error")]
    public class Error : BaseDocObject
    {
        [DbField("line")]
        public int Line { get; set; }

        [DbField("number")]
        public int Number { get; set; }

        [DbField("body", IsUniqField = false)]
        public string Body { get; set; }

        [DbField("type", IsUniqField = false)]
        public string Type { get; set; }

        [DbField("file_id")]
        public long? FileId { get; set; }       

        public void Save()
        {
            GetDBId();
        }
    }
}